import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const CARD: AppRouteRecordRaw = {
    path: '/card',
    name: 'card',
    component: DEFAULT_LAYOUT,
    meta: {
        locale: 'menu.card',
        requiresAuth: true,
        icon: 'icon-copy',
        order: 20,
    },
    children: [
        
        {
            path: 'index',
            name: 'CardIndex',
            component: () => import('@/views/card/index.vue'),
            meta: {
                locale: 'menu.card.index',
                requiresAuth: true,
                roles: ['*'],
                icon: 'icon-align-left',
            },
        },
        {
            path: '/member/company',
            name: 'MemberCompany',
            component: () => import('@/views/member/company.vue'),
            meta: {
                locale: 'menu.member.company',
                requiresAuth: true,
                roles: ['*'],
                icon: 'icon-align-left',
            },
        }
    ],
};

export default CARD;
